const BrandTableData = [
  //数组第一项为表格列名
  [
    {
      title: '',
      dataIndex: 'key',
      width: '50px',
      align: 'center',
    },
    {
      title: '品牌',
      dataIndex: 'name',
      width: '100px',
    },
    {
      title: '主打产品',
      dataIndex: 'product',
      width: '100px',
    },
  ],
  // 数组第二项为每一行对应的源数据
  [
    {
      key: '1',
      name: '广州尚好菜食品',
      product: '韩式料理',
    },
    {
      key: '2',
      name: '福建南阳食品',
      product: '大黄鱼',
    },
    {
      key: '3',
      name: '正大食品',
      product: '牛肉类',
    },
    {
      key: '4',
      name: '江苏省食品集团',
      product: '羊肉类',
    },
    {
      key: '5',
      name: '江苏省食品集团',
      product: '调理品',
    },
    {
      key: '6',
      name: '正大食品',
      product: '调理品',
    },
    {
      key: '7',
      name: '江苏百香顺供应链',
      product: '水产制品',
    },
  ],
];

export default {
  'GET /api/brandTable': (req: any, res: any) => {
    res.json({
      success: true,
      data: { BrandTableData },
      errorCode: 0,
    });
  },
};
